package com.uniledger.exchange.bank;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;

import com.uniledger.exchange.R;
import com.uniledger.exchange.bank.fragment.AreaBankListFragment;
import com.uniledger.exchange.base.activity.BaseActivity;

import butterknife.BindString;

/**
 * 根据国家返回银行卡号
 */
public class SelectBankActivity extends BaseActivity {

    public static final int BANK_SELECT_CODE = 999;

    public static void start(Activity activity) {
        Intent intent = new Intent(activity, SelectBankActivity.class);
        activity.startActivityForResult(intent, BANK_SELECT_CODE);
    }

    @BindString(R.string.card_select_bar_title)
    String title;

    @Override
    public void initBar() {
        super.initBar();
        toolbar.setTitle(title);
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_select_bank);
        getSupportFragmentManager()
                .beginTransaction()
                .add(R.id.container, AreaBankListFragment.newInstance("", ""))
                .commit();
    }

    @Override
    public void getParams() {

    }
}
